Skip to content

Conversation

@rconnell9
Copy link
Contributor

[GH:#9202] [Parity] error: unable to spawn process 'metal' (No such file or directory)

Motivation:

Passes the location of the downloadable metal compiler to SwiftBuild using the new MTL_COMPILER_PATH build setting:
swiftlang/swift-build#941

Result:

Able to successfully build referenced project:
https://github.com/susandoggie/doggie.git

struct BuildMetalTests {

@Test(
.requireHostOS(.macOS),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

suggestion: can we add the .tags(.TestSize.large) trait to this test?

name: "SwiftBuildSupportTests",
dependencies: ["SwiftBuildSupport", "_InternalTestSupport", "_InternalBuildTestSupport"]
),
.testTarget(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

praise: Nice to see a new test target dedicated to validating Metal. 🥳

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants